home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / A / 004.TubeTest.cpt / About TubeTest / About TubeTest
Encoding:
Text File  |  1988-08-02  |  1.1 KB  |  35 lines  |  [TEXT/MACA]

  1. _______________________________________________________________________________________________
  2.  
  3. Macintosh Sample Code
  4.  
  5. #4: TubeTest
  6.  
  7. Versions:    1.0                8/88
  8.  
  9. Components:    TubeTest.p        August 1, 1988
  10.             TubeTest.r        August 1, 1988
  11.             TubeTest.make    August 1, 1988
  12.  
  13. _______________________________________________________________________________________________
  14.  
  15.  
  16.  
  17. The TubeTest program is a simple demonstration of how to use the Palette 
  18. Manager in a color program.  It has a special color palette that is associated
  19. with the main window.  The colors are animated using the Palette Manager 
  20. to give a flowing tube effect.  The program is very simple, and the Palette
  21. Manager and drawing parts are put in separate subroutines to make it easier
  22. to figure out what is happening.
  23.  
  24. The program is still a complete Macintosh application with a Main Event Loop,
  25. so there is the extra code to run the MEL.
  26.  
  27. There is a resource file that is necessary as well, to define the Menus, Window,
  28. Dialog, and Palette resources used in the program.  
  29.  
  30. See Sample and TESample for the general structure and MultiFinder techniques that
  31. we recommend that you use when building a new application.
  32.  
  33.  
  34.  
  35.